#include "../head.h"

class calculator
{
public:
    calculator(const calculator &obj) : num(obj.num)
    {
        cout << "copy constructor" << endl;
    }

    calculator(int n) : num(n) {}

    int num;
};

calculator create()
{
    calculator cal(1);
    // return std::move(cal);
    return cal;
}

int main()
{
    calculator obj = create();
}